package org.example.sdk;

import java.io.Serializable;
import java.util.Map;

/**
 * 认证返回信息
 * @author weichang_ding
 *
 */
public class AuthResult implements Serializable {
    // 认证成功标记
    private boolean isSuccess;
    // 错误编码
    private String errCode;
    // 错误描述
    private String errDesc;
    // 认证结果-认证属性
    //private Map<String[],String> certAttributeNodeMap;
    private Map certAttributeNodeMap;
    // 认证结果-UMS
    //private Map<String[],String> umsAttributeNodeMap;
    private Map umsAttributeNodeMap;
    // 认证结果-PMS
    //private Map<String[],String> pmsAttributeNodeMap;
    private Map pmsAttributeNodeMap;
    // 认证结果-自定义属性
    private Map customAttributeNodeMap;
    // 认证结果-自定义属性
    private String customAttrsElement;
    // 认证结果-访问控制
    private String accessControlResult;

    public boolean isSuccess() {
        return isSuccess;
    }
    public void setSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }
    public String getErrCode() {
        return errCode;
    }
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
    public String getErrDesc() {
        return errDesc;
    }
    public void setErrDesc(String errDesc) {
        this.errDesc = errDesc;
    }
    public Map getCertAttributeNodeMap() {
        return certAttributeNodeMap;
    }
    public void setCertAttributeNodeMap(Map certAttributeNodeMap) {
        this.certAttributeNodeMap = certAttributeNodeMap;
    }
    public Map getUmsAttributeNodeMap() {
        return umsAttributeNodeMap;
    }
    public void setUmsAttributeNodeMap(Map umsAttributeNodeMap) {
        this.umsAttributeNodeMap = umsAttributeNodeMap;
    }
    public Map getPmsAttributeNodeMap() {
        return pmsAttributeNodeMap;
    }
    public void setPmsAttributeNodeMap(Map pmsAttributeNodeMap) {
        this.pmsAttributeNodeMap = pmsAttributeNodeMap;
    }
    public String getCustomAttrsElement() {
        return customAttrsElement;
    }
    public void setCustomAttrsElement(String customAttrsElement) {
        this.customAttrsElement = customAttrsElement;
    }
    public Map getCustomAttributeNodeMap() {
        return customAttributeNodeMap;
    }
    public void setCustomAttributeNodeMap(Map customAttributeNodeMap) {
        this.customAttributeNodeMap = customAttributeNodeMap;
    }
    public String getAccessControlResult() {
        return accessControlResult;
    }
    public void setAccessControlResult(String accessControlResult) {
        this.accessControlResult = accessControlResult;
    }
}
